using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TemplateWeb.Controllers
{
	#region using
	using TemplateWeb.Helpers;
	#endregion
	public enum EnumViewModel
	{
		ADMIN_DETAILOF_THONGTINCONGTY,
		ADMIN_DETAILOF_NGUOIDUNG,
		ADMIN_DETAILOF_NHADAT,
		ADMIN_DETAILOF_CAMNANG,
		ADMIN_DETAILOF_TINTUC,
        ADMIN_DETAILOF_PHANHOI,
		ADMIN_QUANHUYEN,
		ADMIN_THONGTINCONGTY,
		ADMIN_NGUOIDUNG,
		ADMIN_LOAICAMNANG,
		ADMIN_LOAITINTUC,
		ADMIN_CANHO,
		ADMIN_TIENICH,
		ADMIN_TIENICHKHAC,
		ADMIN_VANHOAXAHOI,
		ADMIN_NHADAT,
		ADMIN_CAMNANG,
		ADMIN_TINTUC,
		ADMIN_LOAIGIA,
		ADMIN_LOAIBATDONGSAN,
		ADMIN_TINHTHANH,
        ADMIN_LIENKET,
        ADMIN_PHANHOI,
        ADMIN_HOPTHU,
		HOME_REGISTER,
        HOME_INDEX,
        HOME_DETAILOF_TINTUC,
        HOME_DETAILOF_CAMNANG,
        HOME_TINTUC,
        HOME_CAMNANG,
        HOME_NHADAT,
        HOME_NHADAT_DATNEN,
        HOME_NHADAT_CANHO,
        HOME_GIOITHIEU,
        HOME_DETAILOF_NHADAT,
        HOME_DETAILOF_NGUOIDUNG,
        HOME_HOPTHU,
        HOME_DANGTIN
	}

	public class DataTransferViewModel
	{
		public int ProductsPerPage { get; set; }
		public int CurrentPage { get; set; }
		public EnumViewModel EnumViewModelType { get; set; }
		public int EditID { get; set; }
		public Guid EditIDNguoiDung { get; set; }
		public string Role { get; set; }
		public bool Updated { get; set; }
		public bool Added { get; set; }
		public int IDTinhThanh { get; set; }
		public int ID { get; set; }
		public int IDNhaDat { get; set; }
		public int IDLoaiBatDongSan { get; set; }
		public int IDQuanHuyen { get; set; }
		public int IDLoaiGia { get; set; }
		public Guid IDNguoiDang { get; set; }
		public int IDLoaiCamNang { get; set; }
		public int IDLoaiTinTuc { get; set; }
        public string UserName { get; set; }
        public int IDHopThu { get; set; }
        public int IDPhanHoi { get; set; }

		public DataTransferViewModel()
		{
			ProductsPerPage = WebConfiguration.ProductsPerPage;
			Updated = false;
			Added = false;
			CurrentPage = 1;
			IDTinhThanh = -1;
			IDNhaDat = -1;
			IDLoaiBatDongSan = -1;
			IDQuanHuyen = -1;
			IDLoaiGia = -1;
			IDNguoiDang = Guid.Parse("11112222-1111-1111-1111-111122223333");
			IDLoaiCamNang = -1;
			IDLoaiTinTuc = -1;
            UserName = "";
            IDHopThu = -1;
            IDPhanHoi = -1;
		}
	}
}